﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="DealCardManage.aspx.cs" Inherits="SDLITS.Web.Driver.DealCardManage" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel6" />
      <f:Panel ID="Panel6" Title="交割单管理" ShowBorder="false" BodyPadding="0" ShowHeader="True" Layout="Fit" runat="server" AutoScroll="true">
        <Toolbars>
            <f:Toolbar runat="server">
                <Items>
                    <f:Label Text="企业卡：" runat="server" ID="lbl1"></f:Label>
                    <f:TextBox runat="server" AutoPostBack="true" OnTextChanged="txt_no_TextChanged" ID="txt_no" Width="200px"></f:TextBox>
                </Items>
            </f:Toolbar>
        </Toolbars>
        <Items>
        <f:Grid ID="Grid1" Hidden="true" ShowBorder="false" PageSize="20" AllowPaging="true" EnableCheckBoxSelect="true" IsDatabasePaging="true"
             OnPageIndexChange="Grid1_PageIndexChange" EnableColumnLines="true" EnableHeaderMenu="false" ShowHeader="false" Title="表格" Width="800px" runat="server"
             EnableCollapse="false" DataKeyNames="MessageID">
            <Columns>
                <f:RowNumberField EnablePagingNumber="true" Width="80px" TextAlign="Center" />
                <f:TemplateField HeaderText="始发地">
                    <ItemTemplate>
                        <%# string.Format("{2} - {1} - {0}", Eval("StartRegionName"), Eval("StartParentRegionName"), Eval("StartTopRegionName"))%>
                    </ItemTemplate>
                </f:TemplateField>
                <f:TemplateField HeaderText="目的地">
                    <ItemTemplate>
                        <%# string.Format("{2} - {1} - {0}", Eval("EndRegionName"), Eval("EndParentRegionName"), Eval("EndTopRegionName"))%>
                    </ItemTemplate>
                </f:TemplateField>
                <f:BoundField Width="100px" DataField="GoodName" HeaderText="货物名" />
                <f:BoundField Width="60px" DataField="Amount" HeaderText="数量" />
                <f:BoundField Width="60px" DataField="UnitType" HeaderText="单位" />
                <f:BoundField Width="80px" DataField="TransPrice" HeaderText="运输价格" />
                <f:CheckBoxField RenderAsStaticField="true" Width="70px" DataField="IsSend" HeaderText="激活" />
                <f:BoundField Width="100px" DataField="CreateDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="发送日期" />
                <f:WindowField ColumnID="myWindowField" Width="80px" WindowID="Window1" Text="修改" HeaderText="修改"
                    DataTextFormatString="{0}" DataIFrameUrlFields="MessageID" DataIFrameUrlFormatString="DealCardDetail.aspx?id={0}"
                    DataWindowTitleField="GoodName" DataWindowTitleFormatString="修改 - {0}" Icon="BulletEdit" TextAlign="Center"/>
            </Columns>
        </f:Grid>
        </Items>
       </f:Panel>
        <f:Window ID="Window1" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
            IFrameUrl="about:blank" IsModal="True" Width="500px" Height="400px">
        </f:Window>
    </form>
</body>
</html>
